From fb7e9323a54a3258f2a1ce830d8d7f0402fbc999 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Mon, 12 May 2008 11:24:47 +0900 Subject: [PATCH] [IA64] cleanup: VTLB_PTE_IO_BIT is not used VTLB_PTE_IO_BIT is not used any more. Signed-off-by: Kouya Shimura --- xen/arch/ia64/vmx/vmmu.c | 5 +---- xen/include/asm-ia64/vmmu.h | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/xen/arch/ia64/vmx/vmmu.c b/xen/arch/ia64/vmx/vmmu.c index 4fb9593c05..4e1497514b 100644 --- a/xen/arch/ia64/vmx/vmmu.c +++ b/xen/arch/ia64/vmx/vmmu.c @@ -282,7 +282,7 @@ IA64FAULT vmx_vcpu_itr_d(VCPU *vcpu, u64 slot, u64 pte, u64 itir, u64 ifa) #ifdef VTLB_DEBUG int index; #endif - u64 gpfn, gpte; + u64 gpfn; u64 ps, va, rid; thash_data_t * p_dtr; @@ -313,9 +313,6 @@ IA64FAULT vmx_vcpu_itr_d(VCPU *vcpu, u64 slot, u64 pte, u64 itir, u64 ifa) if (ps != _PAGE_SIZE_16M) thash_purge_entries(vcpu, va, ps); gpfn = (pte & _PAGE_PPN_MASK)>> PAGE_SHIFT; - gpte = lookup_domain_mpa(vcpu->domain, gpfn, NULL); - if (gpte & _PAGE_IO) - pte |= VTLB_PTE_IO; vcpu_get_rr(vcpu, va, &rid); rid &= RR_RID_MASK; p_dtr = (thash_data_t *)&vcpu->arch.dtrs[slot]; diff --git a/xen/include/asm-ia64/vmmu.h b/xen/include/asm-ia64/vmmu.h index 90d06c90b8..31eb76e115 100644 --- a/xen/include/asm-ia64/vmmu.h +++ b/xen/include/asm-ia64/vmmu.h @@ -46,8 +46,6 @@ enum { #endif /* __ASSEMBLY__ */ #define VTLB_PTE_P_BIT 0 -#define VTLB_PTE_IO_BIT 60 -#define VTLB_PTE_IO (1UL<